]> dgit.raspbian.org Git - gnome-shell.git/commit
lookingGlass: Evaluate command asynchronously
authorFlorian Müllner <fmuellner@gnome.org>
Wed, 12 Jul 2023 19:40:05 +0000 (21:40 +0200)
committerMarge Bot <marge-bot@gnome.org>
Fri, 14 Jul 2023 12:36:53 +0000 (12:36 +0000)
commit7eafc248cd272637d9dc1c19061af0301a639fe2
tree140e0554d532130239f63afc85ffcc77635c98f2
parent85a8a6f46c3c84334c5c43c603d68fd7172a3dfa
lookingGlass: Evaluate command asynchronously

This allows using await in the command (or the header we
add to it), for example when handling Promises or importing
a module dynamically.

The latter will be crucial when porting to ESM.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2842>
js/ui/lookingGlass.js